$(function(){
	$('.h-spleft').click(function(){
        $(this).css("background","#ccc");
        location.href="../index.html";
    });
    var swiper = new Swiper('.sw1', {
        pagination: '.swiper-pagination',
        paginationClickable: '.swiper-pagination',
        spaceBetween: 30,
        autoplay: 1000
    });
    $.ajax({
        type:'GET',
        url:'../json/jiaoyi.json',
        dataType:'json',
        success:function(data){
            var str=template('moban',{arr:data});
            $('.ccc').html(str);
        }
    });
})